//
//  ModelDataList.h
//  YinHang
//
//  Created by 张亚哲 on 14/11/8.
//  Copyright (c) 2014年 孙彦鹏. All rights reserved.
//

#import <Foundation/Foundation.h>

@class ModelData;

@protocol ModelDataListServiceDelegate <NSObject>

- (void)didRecieveData;

- (void)didRecieveMsg;

@end

@interface ModelDataList : NSObject

@property (nonatomic,assign) BOOL isQuery;

@property (nonatomic,weak) id<ModelDataListServiceDelegate> delegate;

@property (nonatomic,strong)ModelData *pageInfo;

@property (nonatomic,copy)NSString *action;

@property (nonatomic,copy)NSString *tid;


// 取消网络访问
- (void)cancelRequest;

// 加载数据
- (void)pageQuery;

-(id)initWithAction:(NSString *)action Tid:(NSString *)tid;


@end
